//
//  IAAAuthCheckTCell.m
//  iPadAuditAuthorise
//
//  Created by XiangDongMBP on 16/9/6.
//  Copyright © 2016年 XiangDong. All rights reserved.
//

#import "IAAAuthCheckTCell.h"
#import "IAAAuthCheckModel.h"

@implementation IAAAuthCheckTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configViewWithData:(IAAAuthCheckTaskItem *)item {
//    @[@"任务流水号", @"终端号", @"网点号", @"交易名称", @"申请时间", @"任务级别", @"任务状态"];
    self.t1Label.text = item.busiId;
    self.t2Label.text = item.deviceNo;
    self.t3Label.text = item.orgNo;
    self.t4Label.text = item.busiName;
    self.t5Label.text = item.reqTime;
    self.t6Label.text = (item.taskLevel == IAAAuChTaskLevelFirst) ? @"一审" : @"二审";
    self.t7Label.text = item.state;
}

@end
